/*
 * SocketInfo.cpp
 *
 *  Created on: 2017年6月6日
 *      Author: orange
 */

#include "SocketInfoJuzEvent.h"

const char* SocketInfoJuzEvent::mEventName = "SocketInfoJuzEvent";
SocketInfoJuzEvent::SocketInfoJuzEvent(int fd,char what,char type,char arg1,char arg2,int nLen,char *pData,const char *evName):JuzEvent(evName)
{
	this->what = what;
	this->type = type;
	this->arg1 = arg1;
	this->arg2 = arg2;
	this->nLen = nLen;
	this->pData = pData;
	this->nfd = fd;
}

SocketInfoJuzEvent::~SocketInfoJuzEvent() {

}

char SocketInfoJuzEvent::getArg1() const {
	return arg1;
}

char SocketInfoJuzEvent::getArg2() const {
	return arg2;
}

int SocketInfoJuzEvent::getLen() const {
	return nLen;
}

char* SocketInfoJuzEvent::getData() const {
	return pData;
}

char SocketInfoJuzEvent::getType() const {
	return type;
}

char SocketInfoJuzEvent::getWhat() const {
	return what;
}
int SocketInfoJuzEvent::getNfd() const {
	return nfd;
}

